package dataStructure.chapter02_动态数组.part2泛型数组;

/**
 * @author https://gitee.com/W_Jun
 * @date 2022-01-15 16:24
 * @Description
 */
public class MyArrayListTest {
    public static void main(String[] args) {
        MyArrayList<Person> persons = new MyArrayList<>();
        persons.add(new Person(10, "jack"));
        persons.add(new Person(11, "james"));
        persons.add(new Person(12, "rose"));
        persons.add(new Person(13, "rose"));
        persons.add(new Person(14, "rose"));
        persons.add(new Person(15, "rose"));
        persons.add(new Person(16, "rose"));
        persons.add(new Person(17, "rose"));
        persons.add(new Person(18, "rose"));
        persons.add(new Person(19, "rose"));
        persons.add(new Person(20, "rose"));
        persons.add(new Person(21, "rose"));
        System.out.println(persons);
    }
}
